//
//  Teacher.h
//  lesson_01
//
//  Created by dllo on 16/3/16.
//  Copyright © 2016年 NetEase. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Teacher : NSObject
{
     //默认情况下,实例变量的访问修饰符是@protected
    @protected//默认
    NSString *_name;
    @public
    NSString *_gender;
    NSInteger _age;
    @private//私有的
    CGFloat _height;
    CGFloat _weight;
}
-(void)teachering;
-(void)attackStudents;
//实例变量的set方法(setter方法)
- (void)setName:(NSString *)name;
//实例变量的get方法(getter方法)
- (NSString *)getName;
@end
